home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / 422mods.zip / SEPUL01.422 < prev    next >
Text File  |  1993-03-26  |  2KB  |  53 lines

  1. salkdj
  2. Frodo #43 @13473
  3. Mon Mar 22 17:59:46 1993
  4.  
  5.      │ Mod name: SEPUL01.MOD        Files Modified: CONIO.C
  6.      │ Difficulty: Too simple
  7.      │ Author: Sepulcher
  8.      │ Description: When a user runs out of time, they have the option to
  9.      │              withdraw time from their timebank (if you have a 
  10.      │              timebank MOD installed, I don't know how to do it
  11.      │              with a chain) instead of the annoying-as-hell "Time
  12.      │              Expired. ░╞╘ö9G Qs▓╒ß *click*" thing.. This is
  13.      │              kinda like Telegard.
  14.      └───────────────────────────────────────────────────────────────────
  15.        If no one has thought of this before, I'm surprised.. It's very 
  16.      easy and very convenient. And very obvious.
  17.  
  18.      Disclaimer: If you can possibly find a way to mess this one up, it's 
  19.                  your problem, not mine.
  20.  
  21.      Also: This works fine for me, if you can think of a way to improve it
  22.            go ahead...
  23.  
  24.  
  25.      In CONIO.C search for the following:
  26.        
  27.       if (nsln==0.0) 
  28.         hangup=1;
  29.  
  30.      Or something like that, it may say logoff(); instead of the hangup=1;
  31.     so change it to make it look like this:
  32.  
  33.       if (nsln==0.0) {
  34.         outstr("\r\nYour time has expired. Withdraw from your Time Bank? ");
  35.         if (yn()) {
  36.           timebank();    /*  <──────┐                                       */
  37.         } else           /* change that to whatever your timebank is called,*/
  38.         logoff();        /* my timebank void is called timebank, yours might*/
  39.       }                  /* be different                                    */
  40.  
  41.  
  42.      End mod.
  43.  
  44.      You can change it however you want, I shouldn't take credit for this 
  45.     mod because someone must have thought of it before me.  (Note: I can't
  46.     program worth doodoo so some of it might be inefficient, like the
  47.     logoff() or the { and } things.. so please reply if you have any 
  48.     suggestions or post your revision on the sub where you saw this.
  49.     
  50.     --Thanks
  51.  
  52.  
  53.